age = input()
age = int(age)
if age <= 19:
    print('00后')
elif age > 19 and age <= 24:
    print('95后')
else:
    print('90后')
